package com.example.dsplatform.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

@TableName("Major")
public class Major {
    //专业ID
    @TableId(value = "MAJOR_ID", type = IdType.AUTO)
    private Integer major_id;
    //专业名称
    @TableField(value = "MAJOR_NAME")
    private String major_name;
    //专业简称
    @TableField(value = "SHORT_NAME")
    private String short_name;
    //开设日期
    @TableField(value = "ESTAB_DATE")
    private String estab_date;
    //专业介绍
    @TableField(value = "INTRO")
    private String intro;
    //学费
    @TableField(value = "TUITION_FEE")
    private String tuition_fee;
    //租户号
    @TableField(value = "TENANT_ID")
    private String tenant_id;
    //乐观锁
    @TableField(value = "REVISION")
    private String revision;
    //创建人
    @TableField(value = "CREATED_BY")
    private String created_by;
    //创建时间
    @TableField(value = "CREATED_TIME")
    private String created_time;
    //更新人
    @TableField(value = "UPDATE_BY")
    private String update_by;
    //更新时间
    @TableField(value = "UPDATE_TIME")
    private String update_time;
}